package com.minivision.fdiot.event;

import org.springframework.context.ApplicationEvent;

import com.minivision.fdiot.domain.FaceSetAction;

import lombok.Getter;
import lombok.Setter;

/**
 * 人脸库操作事件
 * @author hughzhao
 * @2018年3月1日
 */
@Getter
@Setter
public class FaceSetUpdateEvent extends ApplicationEvent {

  private static final long serialVersionUID = -7228385751437657861L;
  
  private String appKey;
  private FaceSetAction faceset;

  public FaceSetUpdateEvent(Object source, String appKey, FaceSetAction faceset) {
    super(source);
    this.appKey = appKey;
    this.faceset = faceset;
  }

}
